Skip to content

basic-workflow: Update to Versioned Repos, phase2#113

Merged
CookieSource merged 2 commits into
mainfrom
task/update-to-KDL-config-formats
Jun 23, 2026
Merged

basic-workflow: Update to Versioned Repos, phase2#113
CookieSource merged 2 commits into
mainfrom
task/update-to-KDL-config-formats

Conversation

@ermo

@ermo ermo commented Jun 18, 2026

Copy link
Copy Markdown
Member

This changes the moss repository and boulder profile CLI input format and output format slightly, just as their respective config formats are changed from YAML to KDL.

This changes the moss repository and boulder profile CLI input format
and output format slightly, just as their respective config formats are
changed from YAML to KDL.

Signed-off-by: Rune Morling <ermo@aerynos.com>
Comment thread src/content/docs/Packaging/Workflow/basic-workflow.mdx
@CookieSource

Copy link
Copy Markdown
Member

I'd say aside from the consistency comment from @hphilm all looks good!

@NomadicCore NomadicCore left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If my system is anything to go by, the output of moss repo list still shows the old format for unstable but the new format for volatile.

I have suggested we add the command for converting over/adding both unstable and volatile repo's with the new command structure. If the user already has it in the new format, it won't make a difference so becomes a catch all.

This also flags for me if/when we should do a new ISO so new users fall into the new kdl format as soon as possible?

moss repo list
# output
- unstable = https://cdn.aerynos.dev/stream/unstable/x86_64/stone.index [0]
- unstable = (base-uri=https://cdn.aerynos.dev/, channel=main, version=stream/unstable, arch=x86_64) [0]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For an existing user (after they have synced to the latest moss and are on the new repo, the unstable repo is still in the old format.

Image

I'm guessing this will be true until we roll out a new iso with the new moss and format already baked in.

It's not hard to change it to the new format with the following command

sudo moss repo add unstable https://cdn.aerynos.dev --root-index channel=main,version=stream/unstable -p 0

I'm guessing this won't make a difference to existing installs as it will figure it out but would it make sense to add that users may see

moss repo list
 - unstable = https://cdn.aerynos.dev/stream/unstable/x86_64/stone.index [0]

and therefore guide them on how to update from that too if that is the case?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of now it seems to be correct since unstable is currently still a legacy repo. Only will change when there is a new unstable stream update done. I assume local repos will stay at the legacy format ...

@ermo ermo Jun 19, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also flags for me if/when we should do a new ISO so new users fall into the new kdl format as soon as possible?

The goal was to get the ball rolling, because we've been sitting on this change for too long already.

Currently, we may need to do some re-jiggering repo wise, where we manually downgrade the infra to legacy repo format (= pretend that we didn't just upgrade), add the fixed moss that also works for system-model users to the legacy repo for correct user-facing upgrades for system-model users, then re-run the infra upgrade.

It will be interesting to see what this does for users who were already converted. 😬

In any case, as soon as this upgrade has been rectified (current plan is the coming Tuesday), we should then aim to sync, so we get everyone onto the new repository (and config) format.

Comment thread src/content/docs/Packaging/Workflow/basic-workflow.mdx
Co-authored-by: NomadicCore <github.sneeze312@passmail.net>
@CookieSource CookieSource merged commit 7a0ad24 into main Jun 23, 2026
2 checks passed
@CookieSource

Copy link
Copy Markdown
Member

LGTM

@CookieSource CookieSource deleted the task/update-to-KDL-config-formats branch June 23, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants